package com.example.sringboot_web.controller;

import com.example.sringboot_web.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public abstract class BaseIndex {

    @Autowired
    IndexService indexService;

    @RequestMapping("batch")
    void batch() {
        indexService.batch();
    }
}
